import App from './App'
import SxranImModules from '@/uni_modules/sxran-im-modules'
import '@/uni_modules/sxran-im-modules/theme/index.scss'
import router from '@/router/index'
// #ifndef VUE3
console.log(123)
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
Vue.use(SxranImModules)
App.mpType = 'app'
const app = new Vue({
	store,
	...App,
})
app.$mount()
// #endif

// #ifdef VUE3
console.log(456)
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	app.use(SxranImModules)
	return {
		app,
	}
}
// #endif